import Antd from "ant-design-vue";
import * as antIcons from "@ant-design/icons-vue";
import { createApp } from 'vue';
import App from './App.vue';
import { router } from './router';
import './style.css';
import "./style/index.less";

const app = createApp(App)

Object.keys(antIcons).forEach((key) => {
  app.component(key, antIcons[key]);
});
// 添加到全局
app.config.globalProperties.$antIcons = antIcons

app.use(router).use(Antd).mount("#app");